Contents Screen
TAdrockGradientFill

Properties      Installation

Unit

AdGrad

Description

Use a TAdrockGradientFill component to put a gadient fill onto a form.

Just drop on your form and you are away. Set up the starting and ending colors by using the ColorStart and ColorEnd properties and if wanted set the direction of the gradient fill by setting the property FillDirection.

See TAdrockGradientFill for a sample.


TAdrockGradientFill

Description

Use a TAdrockGradientFill component to put a gradient fill onto a form.

Just drop on your form and you are away. Set up the starting and ending colors by using the ColorStart and ColorEnd properties and if wanted set the direction of the gradient fill by setting the property FillDirection.


Properties

This is the properties page TAdrockGradientFill, please select the property.

Align	ColorStart	ColorEnd
Cursor	FillDirection	Height
Hint	Left	Name
Tag	Top	Width


ColorStart

Applies to

TAdrockGradientFill components

Declaration

property ColorStart : TColor;

Description

This property controls the starting color for the gradient, use the ColorEnd property to define the ending color. You can use any of the Delphi predefined color codes, like clBtnFace, clBtnShadow, as well as the clBlue, clBlack, etc….

The fill colors will look different with different video cards and if viewed on 16, 256, 32K, 64K, and 16.7Million video color modes.


ColorEnd

Applies to

TAdrockGradientFill components

Declaration

property ColorEnd : TColor;

Description

This property controls the ending color for the gradient, use the ColorStart property to define the starting color. You can use any of the Delphi predefined color codes, like clBtnFace, clBtnShadow, as well as the clBlue, clBlack, etc….

The fill colors will look different with different video cards and if viewed on 16, 256, 32K, 64K, and 16.7Million video color modes.


FillDirection

Applies to

TAdrockGradientFill components

Declaration

property FillDirection : TAdrockGradientFillDirection;

TAdrockFillDirection = (fdTopToBottom, fdBottomToTop, fdOutToIn, fdInToOut, fdLeftToRight, fdRightToLeft);

Description

This property defines the direction of the fill, by default the fill is from the Top to the Bottom.

fdTopToBottom		fdBottomToTop


Installation Instructions

To install this component>

•	Getting Started
	•	UNZIP the archive (eg: ADGRAD.ZIP) to a directory temporally.
	•	Create a directory to hold this component and any others that you will install in the future. (eg: C:\DELPHI\COMPONEN) It is easier to put new components in a separate directory since you can update them easily and if there is a new release of DELPHI it will not effect your component directory.
•	Installation of the HLP and KWF files.
	•	Exit DELPHI is you are running it, as you can not install the KWF file while delphi is running.
	•	Move or copy help file (e.g.: AdGRAD.HLP) to your Delphi Bin directory (suggest C:\DELPHI\BIN), it only really needs to be somewhere on the path, but the DELPHI bin directory is a good place.
	•	Delphi has a program to add our help index to Delphis help index. What this does is allow you to search for both delphi commands and the commands and properties of the component you want to install. This program is called HELPINST and is found in the DELPHI\HELP sub directory. Copy the keyword file (ADGRAD.KWF) to the delphi help directory.
	•	Change the current directory to the Delphi Help directory (e.g.: CD C:\DELPHI\HELP)
	•	Run the HELPINST program and load the DELPHI.HDX file from the DELPHI\BIN directory.
	•	Add the .KWF file (e.g.: ADGRAD.KWF) to the list of indexs.
	•	Save the new index file and then exit the HelpInst program.
•	Installation of the DCU, DCR, HIS and TXT files.
	•	We next must add the component to the Delphi VCL Library.
	•	Copy all the DCU, DCR, HIS, and TXT to the directory that you made for the components. (e.g.:  C:\DELPHI\COMPONEN)
	•	Load delphi and selected the Options menu Item, and then selected the Install Components… option. You should get a screen as follows.
	•	Add the directory where you have installed the components to the search path directory. All components that get installed must be in this search path.
	•	Click the add button and then the browse button to navigate to the directory where you copied the .DCU file (e.g.: C:\DELPHI\COMPONEN)
	•	Select the List Files Of Type and select Unit File *.DCU, you should then see the DCU file that you copied to the directory. Select the file and you will be returned to the Install Components dialog box.
	•	Click on the OK button and the VCL library will be re-built.
	•	You will notice on your VCL Palette bar in DELPHI that there is now a new tab called ADROCK, in side here will be an icon to represent the component you just installed.
•	Other Files.
	•	The ADGRAD.HIS file contains a history of updates and changes made.
	•	The ADGRAD.TXT file contains a brief description and ordering details.
Note:	We hope you have no trouble in using this component in your projects and that you like using it and other Adrock components.  We welcome feedback from you, with you we can make better upgrades and quicker fixes to any problems that you are experiencing. Please contact us at  CompuServe 100353,110 or Internet: DHMCC@IBM.NET.